import apis from '@/http/api';

export default {
    saveLoginUser ({commit}, data) {
        commit('createUser', data);
    },
    updateUserFormList ({commit}) {
        apis.userAPI.getFormList().then((data)=>{
            commit('setUserFormList', data);
        });
    },
    setRightBarStatus ({commit}, data) {
        commit('updateRightBarStatus', data);
    },
};
